package com.domus.dreamMenu.comunicacao;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;


import com.domus.dreamMenu.tipos.*;

public interface InterfaceRemotaDoSevidorAdministrador extends Remote {

	void inserirPrato(Prato novo) throws RemoteException;

	void alterarPrato(Prato novo, Integer chave) throws RemoteException;

	void removerPrato(Integer chave) throws RemoteException;

	public void inserirSecao(Secao novo) throws RemoteException;

	public void alterarSecao(Secao novo, Integer chave) throws RemoteException;

	public void removerSecao(Integer chave) throws RemoteException;

	public void inserirGarcom(Garcom novo) throws RemoteException;

	public void alterarGarcom(Garcom novo, Integer chave) throws RemoteException;
	
	public void removerGarcom(Integer chave) throws RemoteException;

	public void inserirMesa(Mesa novo) throws RemoteException;

	public void alterarMesa(Mesa novo, Integer chave) throws RemoteException;

	public void removerMesa(Integer chave) throws RemoteException;
	
	public ArrayList<AreaMesa> consultarAreasMesas() throws RemoteException;
	
	public ArrayList<Garcom> consultarGarcom() throws RemoteException;
	
	public ArrayList<Mesa> consultarMesa() throws RemoteException;

}
